home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 269_01 / manual3.doc < prev    next >
Text File  |  1987-05-15  |  32KB  |  1,497 lines

  1. Unicorn 1 Documentation  3.1                                      page 79
  2.  
  3. __________________________________________________________________________
  4.  
  5.  
  6.                               prtbs
  7.  
  8.  
  9. Sends a backspace character to the printer.
  10.  
  11.  
  12.  
  13.  
  14. Call:         prtbs();
  15.  
  16.  
  17.  
  18.  
  19.  
  20. Example:      main()
  21.               {
  22.                  prtbs();  /* send a back space to the printer */
  23.               }
  24.  
  25.  
  26.  
  27. Unicorn 1 Documentation  3.1                                      page 80
  28.  
  29. __________________________________________________________________________
  30.  
  31.  
  32.                               prtbuzz
  33.  
  34.  
  35. Sounds the printers alarm buzzer.
  36.  
  37.  
  38.  
  39. Call:         prtbuzz();
  40.  
  41.  
  42.  
  43.  
  44. Example:      main()
  45.               {
  46.                  prtbuzz();  /* sound the printer buzzer */
  47.               }
  48.  
  49.  
  50.  
  51. Unicorn 1 Documentation  3.1                                      page 81
  52.  
  53. __________________________________________________________________________
  54.  
  55.  
  56.                               prtcan
  57.  
  58.  
  59. Sends a cancel character to the printer and stops the print.
  60.  
  61.  
  62.  
  63.  
  64. Call:         prtcan();
  65.  
  66.  
  67.  
  68.  
  69.  
  70. Example:      main()
  71.               {
  72.                  prtcan();   /* send a cancel to the printer */
  73.               }
  74.  
  75.  
  76.  
  77. Unicorn 1 Documentation  3.1                                      page 82
  78.  
  79. __________________________________________________________________________
  80.  
  81.  
  82.                               prtcomof
  83.  
  84.  
  85.  
  86. Turns off the printers compressed print mode.
  87.  
  88.  
  89.  
  90.  
  91. Call:         prtcomof();
  92.  
  93.  
  94.  
  95.  
  96.  
  97. Example:      main()
  98.               {
  99.                  prtcomof();  /* Turn off compressed print */
  100.  
  101.  
  102.  
  103. Unicorn 1 Documentation  3.1                                      page 83
  104.  
  105. __________________________________________________________________________
  106.  
  107.  
  108.                               prtcomon
  109.  
  110.  
  111.  
  112. Turns on the printers compressed print mode.
  113.  
  114.  
  115.  
  116.  
  117. Call:         prtcomon();
  118.  
  119.  
  120.  
  121.  
  122. Example:      main()
  123.               {
  124.                  prtcomon();  /*  turn on the compressed mode */
  125.               }
  126.  
  127.  
  128.  
  129. Unicorn 1 Documentation  3.1                                      page 84
  130.  
  131. __________________________________________________________________________
  132.  
  133.  
  134.                               prtcr
  135.  
  136.  
  137.  
  138. Sends a carriage return character to the printer.
  139.  
  140.  
  141.  
  142.  
  143. Call:         prtcr();
  144.  
  145.  
  146.  
  147.  
  148.  
  149. Example:      main()
  150.               {
  151.                  prtcr();   /* send a carriage return to the printer */
  152.               }
  153.  
  154.  
  155.  
  156. Unicorn 1 Documentation  3.1                                      page 85
  157.  
  158. __________________________________________________________________________
  159.  
  160.  
  161.                               prtduboff
  162.  
  163.  
  164. This function turns off the double strike character mode.  Each character is
  165. struck twice by the print head.
  166.  
  167.  
  168.  
  169.  
  170. Call:         prtduboff();
  171.  
  172.  
  173.  
  174.  
  175. Example:      main()
  176.               {
  177.                  prtduboff();   /* turn off the double struck characters */
  178.               }
  179.  
  180.  
  181.  
  182. Unicorn 1 Documentation  3.1                                      page 86
  183.  
  184. __________________________________________________________________________
  185.  
  186.  
  187.                               prtdubon
  188.  
  189.  
  190.  
  191. This function turns on the double strike character mode.  Each character is
  192. struck twice by the print head.
  193.  
  194.  
  195.  
  196.  
  197. Call:         prtdubon();
  198.  
  199.  
  200.  
  201.  
  202. Example:      main()
  203.               {
  204.                  prtdubon();   /* turn on the double struck characters */
  205.               }
  206.  
  207.  
  208.  
  209.  
  210. Unicorn 1 Documentation  3.1                                      page 87
  211.  
  212. __________________________________________________________________________
  213.  
  214.  
  215.                               prtempof
  216.  
  217.  
  218. This function turns off the emphasized print mode.
  219.  
  220.  
  221.  
  222.  
  223.  
  224. Call:         prtempof();
  225.  
  226.  
  227.  
  228.  
  229. Example:      main()
  230.               {
  231.                  prtempof();  /* turn off the emphasized print mode */
  232.               }
  233.  
  234.  
  235.  
  236. Unicorn 1 Documentation  3.1                                      page 88
  237.  
  238. __________________________________________________________________________
  239.  
  240.  
  241.                               prtempon
  242.  
  243.  
  244. Turns on the emphasized print mode.
  245.  
  246.  
  247.  
  248.  
  249. Call:         prtempon();
  250.  
  251.  
  252.  
  253.  
  254. Example:      main()
  255.               {
  256.                  prtempon();  /* Turn on the emphasized print mode */
  257.               }
  258.  
  259.  
  260.  
  261. Unicorn 1 Documentation  3.1                                      page 89
  262.  
  263. __________________________________________________________________________
  264.  
  265.  
  266.                               prtesc
  267.  
  268.  
  269. Sends an escape character to the printer.
  270.  
  271.  
  272.  
  273.  
  274. Call:         prtesc();
  275.  
  276.  
  277.  
  278.  
  279.  
  280. Example:      main()
  281.               {
  282.                  prtesc();  /* send an escape to the printer */
  283.               }
  284.  
  285.  
  286.  
  287. Unicorn 1 Documentation  3.1                                      page 90
  288.  
  289. __________________________________________________________________________
  290.  
  291.  
  292.                               prtff
  293.  
  294.  
  295. Sends a form feed character to the printer.
  296.  
  297.  
  298.  
  299.  
  300. Call:         prtff();
  301.  
  302.  
  303.  
  304.  
  305.  
  306. Example:      main()
  307.               {
  308.                  prtff();   /* send a form feed to the printer */
  309.               }
  310.  
  311.  
  312.  
  313. Unicorn 1 Documentation  3.1                                      page 91
  314.  
  315. __________________________________________________________________________
  316.  
  317.  
  318.                               prtlf
  319.  
  320.  
  321. Sends a line feed character to the printer.
  322.  
  323.  
  324.  
  325.  
  326. Call:         prtlf();
  327.  
  328.  
  329.  
  330.  
  331.  
  332. Example:      main()
  333.               {
  334.                  prtlf();   /* send a line feed to the printer */
  335.               }
  336.  
  337.  
  338.  
  339. Unicorn 1 Documentation  3.1                                      page 92
  340.  
  341. __________________________________________________________________________
  342.  
  343.  
  344.                               prttab
  345.  
  346.  
  347. Sends a tab character to the printer.
  348.  
  349.  
  350.  
  351.  
  352. Call:         prttab();
  353.  
  354.  
  355.  
  356.  
  357.  
  358. Example:      main()
  359.               {
  360.                  prttab();   /* send a tab to the printer */
  361.               }
  362.  
  363.  
  364.  
  365. Unicorn 1 Documentation  3.1                                      page 93
  366.  
  367. __________________________________________________________________________
  368.  
  369.  
  370.                               prtwidoff
  371.  
  372.  
  373. This function turns of the wide or double width character mode.
  374.  
  375.  
  376.  
  377. Call:         prtwidoff();
  378.  
  379.  
  380.  
  381. Example:      main()
  382.               {
  383.                  prtwidoff();   /* turn off the double width characters */
  384.               }
  385.  
  386.  
  387.  
  388. Unicorn 1 Documentation  3.1                                      page 94
  389.  
  390. __________________________________________________________________________
  391.  
  392.  
  393.                               prtwidon
  394.  
  395.  
  396. Turns on the printer wide or double width character mode.  This mode is
  397. automatically canceled at the next new line sent to the printer.
  398.  
  399.  
  400.  
  401. Call:         prtwidon();
  402.  
  403.  
  404.  
  405.  
  406. Example:      main()
  407.               {
  408.                  prtwidon();    /* turn on the wide mode */
  409.               }
  410.  
  411.  
  412.  
  413.  
  414. E
  415.      Unicorn Library Documentation  3.1                         page 95
  416.  
  417.      __________________________________________________________________
  418.  
  419.                               rad2deg
  420. F
  421.      Converts angles expressed in radians to the equivalent angle
  422.      expressed in degrees.   Both the angle and the return are
  423.      doubles.
  424.  
  425.  
  426.  
  427.  
  428.  
  429.      Call:   rad2deg(angle);
  430.  
  431.              angle  =  angle expressed in radians
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.      Example:    main()
  439.                  {
  440.                     double a, rad2deg();
  441.  
  442.                     a = rad2deg(3.45);
  443.                   }
  444.  
  445.  
  446.  
  447. E
  448.      Unicorn Library Documentation  3.1                         page 96
  449.  
  450.      __________________________________________________________________
  451.  
  452.                                raschar
  453.  
  454. F     Prints a single large character on the graphics screen using the
  455.      internal ROM character descriptions.
  456.  
  457.  
  458.  
  459.  
  460.      Call:   raschar(char, ulc, ulr, hmag, vmag, color);
  461.  
  462.              char   =  character to print
  463.              ulc    =  upper left corner column
  464.              ulr    =  upper left corner row
  465.              hmag   =  horizontal magnification factor
  466.              vmag   =  vertical magnification factor
  467.              col